//
//  IArray.swift
//  SwiftGenericDemo
//
//  Created by aron on 2017/6/2.
//  Copyright © 2017年 aron. All rights reserved.
//

import Foundation

protocol IArray {
    associatedtype ArrayItemT;
    
    func add(item: ArrayItemT);
    func remove(index: Int);
    func get(index: Int) -> ArrayItemT;
    func removeAll();
    func forEach();
    
}
